package com.yanqu.xiuxian.gameserver.tripletown.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * 三消-提示
 */
public class EliminateTips {

    private boolean success;                // 提示结果
    private Block fromBlock;                // 开始方块
    private Block toBlock;                  // 结束方块
    private List<Block> blockList;          // 消除的方块(不含fromBlock)

    public EliminateTips() {
        this.success = true;
        this.fromBlock = null;
        this.toBlock = null;
        this.blockList = new ArrayList<>();
    }

    public EliminateTips(boolean success, Block fromBlock, Block toBlock, List<Block> blockList) {
        this.success = success;
        this.fromBlock = fromBlock;
        this.toBlock = toBlock;
        this.blockList = blockList;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Block getFromBlock() {
        return fromBlock;
    }

    public void setFromBlock(Block fromBlock) {
        this.fromBlock = fromBlock;
    }

    public Block getToBlock() {
        return toBlock;
    }

    public void setToBlock(Block toBlock) {
        this.toBlock = toBlock;
    }

    public List<Block> getBlockList() {
        return blockList;
    }

    public void setBlockList(List<Block> blockList) {
        this.blockList = blockList;
    }

}
